package com.sinux.generality.provider.pay.entity;

import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 支付订单表退款详细记录表
 * </p>
 *
 * @author sinux
 * @since 2023-05-05
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="GptPayOrderRefundDetail对象", description="支付订单表退款详细记录表")
public class GptPayOrderRefundDetail implements Serializable {

    private static final long serialVersionUID=1L;

    @ApiModelProperty(value = "退款订单细项id")
    private Long payRefundDetailId;

    @ApiModelProperty(value = "退款订单id")
    private Long payRefundId;

    @ApiModelProperty(value = "业务订单id")
    private Long businessOrderId;

    @ApiModelProperty(value = "该业务订单退款金额")
    private BigDecimal price;

    @ApiModelProperty(value = "子订单类型：1-会员收费")
    private Integer type;

    @ApiModelProperty(value = "创建时间")
    private LocalDateTime createTime;

    @ApiModelProperty(value = "修改时间")
    private LocalDateTime modifyTime;

    @ApiModelProperty(value = "退款状态：0-未发生退款，1-部分退款，2-退款已完成")
    private Integer refundState;


}
